module.exports = (sequelize, Types) => {
    const Goods = sequelize.define('Goods', {
        id: {
            type: Types.INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        name: Types.TEXT(45),
        price: Types.INTEGER(11),
        number: Types.INTEGER(5),
        sort: Types.TEXT(20),
        type: Types.TEXT(20),
        pic: Types.TEXT(100),
        cont: Types.TEXT(1000),
        img: Types.TEXT(10000),
    });
    Goods.sync();
    return Goods;
};